import request from '@/utils/request.js'

export const getCommunityList = () => {
  return request({
    url: '/community',
    methods: 'get',
  })
}

export const getBuildingList = (code) => {
  return request({
    url: '/house/building?0=' + code,
    methods: 'get'
  })
}